﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.oracle
{
	// Token: 0x0200012E RID: 302
	public class TOracleCommentOnSqlStmt : TCustomOracleSqlStmt
	{
		// Token: 0x060009B8 RID: 2488 RVA: 0x00303CB0 File Offset: 0x00301EB0
		public TOracleCommentOnSqlStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstoraclecomment;
		}

		// Token: 0x060009B9 RID: 2489 RVA: 0x00303CC4 File Offset: 0x00301EC4
		internal override void buildsql()
		{
		}

		// Token: 0x060009BA RID: 2490 RVA: 0x00303CC6 File Offset: 0x00301EC6
		internal override void clear()
		{
		}

		// Token: 0x060009BB RID: 2491 RVA: 0x00303CC8 File Offset: 0x00301EC8
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x060009BC RID: 2492 RVA: 0x00303CCF File Offset: 0x00301ECF
		internal override void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x060009BD RID: 2493 RVA: 0x00303CD4 File Offset: 0x00301ED4
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			TCommentSqlNode tcommentSqlNode = (TCommentSqlNode)this.rootNode;
			this.objectName = tcommentSqlNode.ObjectName;
			this.message = tcommentSqlNode.Message;
			this.dbObjType = tcommentSqlNode.DbObjType;
			return 0;
		}

		// Token: 0x170001B5 RID: 437
		// (get) Token: 0x060009BE RID: 2494 RVA: 0x00303D24 File Offset: 0x00301F24
		// (set) Token: 0x060009BF RID: 2495 RVA: 0x00303D2C File Offset: 0x00301F2C
		public virtual int DbObjType
		{
			get
			{
				return this.dbObjType;
			}
			set
			{
				this.dbObjType = value;
			}
		}

		// Token: 0x170001B6 RID: 438
		// (get) Token: 0x060009C0 RID: 2496 RVA: 0x00303D35 File Offset: 0x00301F35
		// (set) Token: 0x060009C1 RID: 2497 RVA: 0x00303D3D File Offset: 0x00301F3D
		public virtual TConstant Message
		{
			get
			{
				return this.message;
			}
			set
			{
				this.message = value;
			}
		}

		// Token: 0x170001B7 RID: 439
		// (get) Token: 0x060009C2 RID: 2498 RVA: 0x00303D46 File Offset: 0x00301F46
		// (set) Token: 0x060009C3 RID: 2499 RVA: 0x00303D4E File Offset: 0x00301F4E
		public virtual TObjectName ObjectName
		{
			get
			{
				return this.objectName;
			}
			set
			{
				this.objectName = value;
			}
		}

		// Token: 0x060009C4 RID: 2500 RVA: 0x00303D57 File Offset: 0x00301F57
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x060009C5 RID: 2501 RVA: 0x00303D67 File Offset: 0x00301F67
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001254 RID: 4692
		private TObjectName objectName;

		// Token: 0x04001255 RID: 4693
		private TConstant message;

		// Token: 0x04001256 RID: 4694
		private int dbObjType;
	}
}
